﻿clothes_religious = { # All clothes triggers are found in 00_clothing_triggers.txt

    usage = game
    selection_behavior = weighted_random
    priority = 3

## Orthodox ##

    religious_orthodox_head_clothes = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_orthodox_head_clothes
                range = { 0 1 }
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 150
                portrait_religious_head_trigger = yes
                portrait_religious_orthodox_trigger = yes
            }
        }
    }  

    religious_orthodox_high_clothes = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_orthodox_high_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit bishop_outfit }
        weight = {
            base = 0
            modifier = {
                add = 120
                portrait_religious_high_trigger = yes
                portrait_religious_orthodox_trigger = yes
            }
        }
    }

## Catholic ##  


    religious_catholic_head_clothes = { # The Pope
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_catholic_head_clothes
                range = { 0 1 }
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 120
                portrait_religious_head_trigger = yes
                portrait_religious_catholic_trigger = yes
            }
        }
    }

    religious_catholic_high_clothes = { # Catholic Bishops and Priests
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_catholic_high_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit bishop_outfit }
        weight = {
            base = 0
            modifier = {
                add = 110
                portrait_religious_high_trigger = yes
                portrait_religious_christian_trigger = yes
            }
            modifier = {
                factor = 0
                portrait_iconoclast_high_trigger = yes
            }
        }
    }

    religious_catholic_devoted_clothes = { # Christian Monks and Nuns
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_catholic_devoted_clothes
                range = { 0 1 } # For the randomness to work correctly
            }
            accessory = {
                mode = add
                gene = hairstyles
                template = catholic_devoted_hairstyles
                range = { 0 1 } # For the randomness to work correctly
            }
        }
        outfit_tags = { monk_outfit }
        weight = {
            base = 0
            modifier = {
                add = 100
                portrait_religious_devoted_trigger = yes
                portrait_religious_christian_trigger = yes
            }
        }
    }

## Iconoclast ##

    religious_iconoclast_high_clothes = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_catholic_high_clothes
                accessory = male_clothes_religious_catholic_high_01
            }
        }
        outfit_tags = { priest_outfit bishop_outfit }
        weight = {
            base = 0
            modifier = {
                add = 110
                portrait_iconoclast_high_trigger = yes
            }
        }
    }

## Jewish ##


    religious_jewish_head_clothes = { # Kohen Gadol
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_jewish_head_clothes
                range = { 0 1 }
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 120
                portrait_religious_head_ruler_trigger = yes
                portrait_religious_jewish_trigger = yes                
            }
        }
    }

    religious_jewish_high_clothes = { # Jewish Priest (Kohen)
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_jewish_high_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 110
                portrait_religious_high_trigger = yes
                portrait_religious_jewish_trigger = yes
            }
        }
    }


## Muslim ##

    religious_muslim_head_clothes = { # Caliph
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_muslim_head_clothes
                range = { 0 1 }
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 112
                portrait_religious_head_caliph_trigger = {
                    RELIGION_INPUT = islam
                }
            }
        }
    } 

    religious_muslim_high_clothes = { # Imams
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_muslim_high_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 111
                portrait_religious_high_trigger = yes
                portrait_religious_muslim_trigger = yes
            }
        }
    }

    religious_muslim_devoted_clothes = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = mena_commoner_clothes
                range = { 0 1 } # For the randomness to work correctly
            }
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                portrait_religious_devoted_trigger = yes
                portrait_religious_muslim_trigger = yes
            }
        }
    }


## Northern ##


    religious_northern_high_clothes = { # Norse pagan priests
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_northern_high_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 100
                portrait_religious_high_trigger = yes
                portrait_religious_norse_trigger = yes           
            }
        }
    }

    ## CCP4 Siberian ##

    religious_siberian_high_clothes = { # Khanty shamans wear fancy Khanty clothes
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = ccp4_khanty_high_nobility_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 105 #higher than steppe
                portrait_religious_high_trigger = yes
                portrait_religious_siberian_trigger = yes
            }
        }
    }

    ## CCP4 Sami ##

    religious_sami_high_clothes = { # Sami shamans wear Sami clothes
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = ccp4_sami_low_nobility_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 105 #higher than norse
                portrait_religious_high_trigger = yes
                portrait_religious_sami_trigger = yes
            }
        }
    }


## Steppe ##


    religious_steppe_high_clothes = { # Mongol pagan shamans
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_steppe_high_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 100
                portrait_religious_high_trigger = yes
                portrait_religious_steppe_trigger = yes
            }
            modifier = {
                add = 100
                has_court_position = court_astrologer_court_position
                exists = situation:the_great_steppe
                liege ?= {
                    any_character_situation = {
                        this = situation:the_great_steppe
                    }
                }
            }
        }
    }


## Buddhist ##


    religious_buddhist_high_clothes = { # Buddhist Monks
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_buddhist_high_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 110
                portrait_religious_high_trigger = yes
                portrait_religious_buddhist_trigger = yes
            }
        }
    }

    religious_buddhist_devoted_clothes = { # Buddhist Monks
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_buddhist_high_clothes
                range = { 0 1 } # For the randomness to work correctly
            }
        }
        outfit_tags = { monk_outfit }
        weight = {
            base = 0
            modifier = {
                add = 100
                portrait_religious_devoted_trigger = yes
                portrait_religious_buddhist_trigger = yes
            }
        }
    }


## Hinduist ##

    religious_hindu_devoted_clothes = { # Hindu Swami
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_hindu_devoted_clothes
                range = { 0 1 } # For the randomness to work correctly
            }
        }
        outfit_tags = { monk_outfit }
        weight = {
            base = 0
            modifier = {
                add = 100
                portrait_religious_devoted_trigger = yes
                portrait_religious_hindu_trigger = yes
            }
        }
    }

    religious_hindu_high_clothes = { # Hindu Swami
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_hindu_devoted_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 110
                portrait_religious_high_trigger = yes
                portrait_religious_hindu_trigger = yes
            }
        }
    }

## Zoroastrian ##

    religious_zoroastrian_high_clothes = { # Zoroastrian Priests
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_zoroastrian_high_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { 
            priest_outfit
            religious_zoroastrian_high_clothes
        }
        weight = {
            base = 0
            modifier = {
                add = 100
                portrait_religious_high_trigger = yes
                portrait_religious_zoroastrian_trigger = yes
            }
        }
    }


## Jain ##


    religious_jain_high_clothes = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_jain_high_clothes
                range = { 0 1 }
            }
            morph = {
                mode = modify_multiply
                gene = gene_bs_bust
                value = 1.0
                template = bust_clothes_light
            }

        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 110
                exists = this
                portrait_religious_high_trigger = yes
                OR = {
                    religion = religion:jainism_religion
                }
            }
        }
    }


    religious_jain_devoted_clothes = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_jain_high_clothes
                range = { 0 1 } # For the randomness to work correctly
            }
        }
        outfit_tags = { monk_outfit }
        weight = {
            base = 0
            modifier = {
                add = 100
                portrait_has_trait_trigger = { TRAIT = devoted }
                OR = {
                    religion = religion:jainism_religion
                }
            }
        }
    }


## African Pagan ##

    religious_african_high_clothes = { # African Pagan Shamans
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = religious_african_high_clothes
                range = { 0 1 }
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 100
                portrait_religious_high_trigger = yes
                portrait_religious_african_trigger = yes
            }
        }
    }


    # Shogunate

    japanese_common_monk = {
        dna_modifiers = {
            accessory = {
                mode = add
                gene = clothes
                template = japanese_common_monk_clothes
                range = { 0 1 } # For the randomness to work correctly
            }
        }
        outfit_tags = { priest_outfit }
        weight = {
            base = 0
            modifier = {
                add = 60
                shogunate_should_be_no_hair_trigger = yes
                portrait_japanese_clothing_trigger = yes
            }
        }
    }
}
